package cn.wolfcode.luowowo.article.service.impl;

import cn.wolfcode.luowowo.acticle.domain.FlightCity;
import cn.wolfcode.luowowo.acticle.service.IFlightCityService;
import cn.wolfcode.luowowo.article.mapper.FlightCityMapper;
import com.alibaba.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

@Service
public class FlightCityServiceImpl implements IFlightCityService {

    @Autowired
    private FlightCityMapper flightCityMapper;

    @Override
    public List<FlightCity> listByStatus(int status) {
        return flightCityMapper.selectByStatus(status);
    }

    @Override
    public List<FlightCity> listByCode(String... Code) {
        return flightCityMapper.selectByCodeS(Code);
    }


}
